import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export let store=new Vuex.Store({
    state:{
        userInfo:{"username": localStorage.getItem("username")},
        login: false//默认还没登录

    }
})